package beavers.studio.golfberry.model;

import net.rim.device.api.util.Persistable;

/**
 * Data structure for a single row in scoring sheet
 * @author Ecky
 */
public class Score implements Persistable {
	public String 	name;
	public Integer	first, second, handicap;
	
	public int getGross() {
		return first.intValue() + second.intValue();
	}
	
	public int getNett() {
		return getGross() - handicap.intValue(); 
	}
}
